package com.passive.lock.model.po;

import java.util.ArrayList;
import java.util.List;

public class TAuthExample {
    /**
     * T_Auth
     */
    protected String orderByClause;

    /**
     * T_Auth
     */
    protected boolean distinct;

    /**
     * T_Auth
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @mbggenerated 2017-08-04
     */
    public TAuthExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @mbggenerated 2017-08-04
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-08-04
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-08-04
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @mbggenerated 2017-08-04
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @mbggenerated 2017-08-04
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @mbggenerated 2017-08-04
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @mbggenerated 2017-08-04
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-08-04
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-08-04
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-08-04
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * T_Auth 2017-08-04
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAuthidIsNull() {
            addCriterion("authId is null");
            return (Criteria) this;
        }

        public Criteria andAuthidIsNotNull() {
            addCriterion("authId is not null");
            return (Criteria) this;
        }

        public Criteria andAuthidEqualTo(Integer value) {
            addCriterion("authId =", value, "authid");
            return (Criteria) this;
        }

        public Criteria andAuthidNotEqualTo(Integer value) {
            addCriterion("authId <>", value, "authid");
            return (Criteria) this;
        }

        public Criteria andAuthidGreaterThan(Integer value) {
            addCriterion("authId >", value, "authid");
            return (Criteria) this;
        }

        public Criteria andAuthidGreaterThanOrEqualTo(Integer value) {
            addCriterion("authId >=", value, "authid");
            return (Criteria) this;
        }

        public Criteria andAuthidLessThan(Integer value) {
            addCriterion("authId <", value, "authid");
            return (Criteria) this;
        }

        public Criteria andAuthidLessThanOrEqualTo(Integer value) {
            addCriterion("authId <=", value, "authid");
            return (Criteria) this;
        }

        public Criteria andAuthidIn(List<Integer> values) {
            addCriterion("authId in", values, "authid");
            return (Criteria) this;
        }

        public Criteria andAuthidNotIn(List<Integer> values) {
            addCriterion("authId not in", values, "authid");
            return (Criteria) this;
        }

        public Criteria andAuthidBetween(Integer value1, Integer value2) {
            addCriterion("authId between", value1, value2, "authid");
            return (Criteria) this;
        }

        public Criteria andAuthidNotBetween(Integer value1, Integer value2) {
            addCriterion("authId not between", value1, value2, "authid");
            return (Criteria) this;
        }

        public Criteria andAuthnameIsNull() {
            addCriterion("authName is null");
            return (Criteria) this;
        }

        public Criteria andAuthnameIsNotNull() {
            addCriterion("authName is not null");
            return (Criteria) this;
        }

        public Criteria andAuthnameEqualTo(String value) {
            addCriterion("authName =", value, "authname");
            return (Criteria) this;
        }

        public Criteria andAuthnameNotEqualTo(String value) {
            addCriterion("authName <>", value, "authname");
            return (Criteria) this;
        }

        public Criteria andAuthnameGreaterThan(String value) {
            addCriterion("authName >", value, "authname");
            return (Criteria) this;
        }

        public Criteria andAuthnameGreaterThanOrEqualTo(String value) {
            addCriterion("authName >=", value, "authname");
            return (Criteria) this;
        }

        public Criteria andAuthnameLessThan(String value) {
            addCriterion("authName <", value, "authname");
            return (Criteria) this;
        }

        public Criteria andAuthnameLessThanOrEqualTo(String value) {
            addCriterion("authName <=", value, "authname");
            return (Criteria) this;
        }

        public Criteria andAuthnameLike(String value) {
            addCriterion("authName like", value, "authname");
            return (Criteria) this;
        }

        public Criteria andAuthnameNotLike(String value) {
            addCriterion("authName not like", value, "authname");
            return (Criteria) this;
        }

        public Criteria andAuthnameIn(List<String> values) {
            addCriterion("authName in", values, "authname");
            return (Criteria) this;
        }

        public Criteria andAuthnameNotIn(List<String> values) {
            addCriterion("authName not in", values, "authname");
            return (Criteria) this;
        }

        public Criteria andAuthnameBetween(String value1, String value2) {
            addCriterion("authName between", value1, value2, "authname");
            return (Criteria) this;
        }

        public Criteria andAuthnameNotBetween(String value1, String value2) {
            addCriterion("authName not between", value1, value2, "authname");
            return (Criteria) this;
        }

        public Criteria andAuthtypeIsNull() {
            addCriterion("authType is null");
            return (Criteria) this;
        }

        public Criteria andAuthtypeIsNotNull() {
            addCriterion("authType is not null");
            return (Criteria) this;
        }

        public Criteria andAuthtypeEqualTo(String value) {
            addCriterion("authType =", value, "authtype");
            return (Criteria) this;
        }

        public Criteria andAuthtypeNotEqualTo(String value) {
            addCriterion("authType <>", value, "authtype");
            return (Criteria) this;
        }

        public Criteria andAuthtypeGreaterThan(String value) {
            addCriterion("authType >", value, "authtype");
            return (Criteria) this;
        }

        public Criteria andAuthtypeGreaterThanOrEqualTo(String value) {
            addCriterion("authType >=", value, "authtype");
            return (Criteria) this;
        }

        public Criteria andAuthtypeLessThan(String value) {
            addCriterion("authType <", value, "authtype");
            return (Criteria) this;
        }

        public Criteria andAuthtypeLessThanOrEqualTo(String value) {
            addCriterion("authType <=", value, "authtype");
            return (Criteria) this;
        }

        public Criteria andAuthtypeLike(String value) {
            addCriterion("authType like", value, "authtype");
            return (Criteria) this;
        }

        public Criteria andAuthtypeNotLike(String value) {
            addCriterion("authType not like", value, "authtype");
            return (Criteria) this;
        }

        public Criteria andAuthtypeIn(List<String> values) {
            addCriterion("authType in", values, "authtype");
            return (Criteria) this;
        }

        public Criteria andAuthtypeNotIn(List<String> values) {
            addCriterion("authType not in", values, "authtype");
            return (Criteria) this;
        }

        public Criteria andAuthtypeBetween(String value1, String value2) {
            addCriterion("authType between", value1, value2, "authtype");
            return (Criteria) this;
        }

        public Criteria andAuthtypeNotBetween(String value1, String value2) {
            addCriterion("authType not between", value1, value2, "authtype");
            return (Criteria) this;
        }

        public Criteria andAuthstarttimeIsNull() {
            addCriterion("authStartTime is null");
            return (Criteria) this;
        }

        public Criteria andAuthstarttimeIsNotNull() {
            addCriterion("authStartTime is not null");
            return (Criteria) this;
        }

        public Criteria andAuthstarttimeEqualTo(Long value) {
            addCriterion("authStartTime =", value, "authstarttime");
            return (Criteria) this;
        }

        public Criteria andAuthstarttimeNotEqualTo(Long value) {
            addCriterion("authStartTime <>", value, "authstarttime");
            return (Criteria) this;
        }

        public Criteria andAuthstarttimeGreaterThan(Long value) {
            addCriterion("authStartTime >", value, "authstarttime");
            return (Criteria) this;
        }

        public Criteria andAuthstarttimeGreaterThanOrEqualTo(Long value) {
            addCriterion("authStartTime >=", value, "authstarttime");
            return (Criteria) this;
        }

        public Criteria andAuthstarttimeLessThan(Long value) {
            addCriterion("authStartTime <", value, "authstarttime");
            return (Criteria) this;
        }

        public Criteria andAuthstarttimeLessThanOrEqualTo(Long value) {
            addCriterion("authStartTime <=", value, "authstarttime");
            return (Criteria) this;
        }

        public Criteria andAuthstarttimeIn(List<Long> values) {
            addCriterion("authStartTime in", values, "authstarttime");
            return (Criteria) this;
        }

        public Criteria andAuthstarttimeNotIn(List<Long> values) {
            addCriterion("authStartTime not in", values, "authstarttime");
            return (Criteria) this;
        }

        public Criteria andAuthstarttimeBetween(Long value1, Long value2) {
            addCriterion("authStartTime between", value1, value2, "authstarttime");
            return (Criteria) this;
        }

        public Criteria andAuthstarttimeNotBetween(Long value1, Long value2) {
            addCriterion("authStartTime not between", value1, value2, "authstarttime");
            return (Criteria) this;
        }

        public Criteria andAuthstoptimeIsNull() {
            addCriterion("authStopTime is null");
            return (Criteria) this;
        }

        public Criteria andAuthstoptimeIsNotNull() {
            addCriterion("authStopTime is not null");
            return (Criteria) this;
        }

        public Criteria andAuthstoptimeEqualTo(Long value) {
            addCriterion("authStopTime =", value, "authstoptime");
            return (Criteria) this;
        }

        public Criteria andAuthstoptimeNotEqualTo(Long value) {
            addCriterion("authStopTime <>", value, "authstoptime");
            return (Criteria) this;
        }

        public Criteria andAuthstoptimeGreaterThan(Long value) {
            addCriterion("authStopTime >", value, "authstoptime");
            return (Criteria) this;
        }

        public Criteria andAuthstoptimeGreaterThanOrEqualTo(Long value) {
            addCriterion("authStopTime >=", value, "authstoptime");
            return (Criteria) this;
        }

        public Criteria andAuthstoptimeLessThan(Long value) {
            addCriterion("authStopTime <", value, "authstoptime");
            return (Criteria) this;
        }

        public Criteria andAuthstoptimeLessThanOrEqualTo(Long value) {
            addCriterion("authStopTime <=", value, "authstoptime");
            return (Criteria) this;
        }

        public Criteria andAuthstoptimeIn(List<Long> values) {
            addCriterion("authStopTime in", values, "authstoptime");
            return (Criteria) this;
        }

        public Criteria andAuthstoptimeNotIn(List<Long> values) {
            addCriterion("authStopTime not in", values, "authstoptime");
            return (Criteria) this;
        }

        public Criteria andAuthstoptimeBetween(Long value1, Long value2) {
            addCriterion("authStopTime between", value1, value2, "authstoptime");
            return (Criteria) this;
        }

        public Criteria andAuthstoptimeNotBetween(Long value1, Long value2) {
            addCriterion("authStopTime not between", value1, value2, "authstoptime");
            return (Criteria) this;
        }

        public Criteria andAuthtimeIsNull() {
            addCriterion("authTime is null");
            return (Criteria) this;
        }

        public Criteria andAuthtimeIsNotNull() {
            addCriterion("authTime is not null");
            return (Criteria) this;
        }

        public Criteria andAuthtimeEqualTo(Long value) {
            addCriterion("authTime =", value, "authtime");
            return (Criteria) this;
        }

        public Criteria andAuthtimeNotEqualTo(Long value) {
            addCriterion("authTime <>", value, "authtime");
            return (Criteria) this;
        }

        public Criteria andAuthtimeGreaterThan(Long value) {
            addCriterion("authTime >", value, "authtime");
            return (Criteria) this;
        }

        public Criteria andAuthtimeGreaterThanOrEqualTo(Long value) {
            addCriterion("authTime >=", value, "authtime");
            return (Criteria) this;
        }

        public Criteria andAuthtimeLessThan(Long value) {
            addCriterion("authTime <", value, "authtime");
            return (Criteria) this;
        }

        public Criteria andAuthtimeLessThanOrEqualTo(Long value) {
            addCriterion("authTime <=", value, "authtime");
            return (Criteria) this;
        }

        public Criteria andAuthtimeIn(List<Long> values) {
            addCriterion("authTime in", values, "authtime");
            return (Criteria) this;
        }

        public Criteria andAuthtimeNotIn(List<Long> values) {
            addCriterion("authTime not in", values, "authtime");
            return (Criteria) this;
        }

        public Criteria andAuthtimeBetween(Long value1, Long value2) {
            addCriterion("authTime between", value1, value2, "authtime");
            return (Criteria) this;
        }

        public Criteria andAuthtimeNotBetween(Long value1, Long value2) {
            addCriterion("authTime not between", value1, value2, "authtime");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidIsNull() {
            addCriterion("authDeptId is null");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidIsNotNull() {
            addCriterion("authDeptId is not null");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidEqualTo(String value) {
            addCriterion("authDeptId =", value, "authdeptid");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidNotEqualTo(String value) {
            addCriterion("authDeptId <>", value, "authdeptid");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidGreaterThan(String value) {
            addCriterion("authDeptId >", value, "authdeptid");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidGreaterThanOrEqualTo(String value) {
            addCriterion("authDeptId >=", value, "authdeptid");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidLessThan(String value) {
            addCriterion("authDeptId <", value, "authdeptid");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidLessThanOrEqualTo(String value) {
            addCriterion("authDeptId <=", value, "authdeptid");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidLike(String value) {
            addCriterion("authDeptId like", value, "authdeptid");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidNotLike(String value) {
            addCriterion("authDeptId not like", value, "authdeptid");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidIn(List<String> values) {
            addCriterion("authDeptId in", values, "authdeptid");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidNotIn(List<String> values) {
            addCriterion("authDeptId not in", values, "authdeptid");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidBetween(String value1, String value2) {
            addCriterion("authDeptId between", value1, value2, "authdeptid");
            return (Criteria) this;
        }

        public Criteria andAuthdeptidNotBetween(String value1, String value2) {
            addCriterion("authDeptId not between", value1, value2, "authdeptid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidIsNull() {
            addCriterion("employeeId is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeidIsNotNull() {
            addCriterion("employeeId is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeidEqualTo(Integer value) {
            addCriterion("employeeId =", value, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidNotEqualTo(Integer value) {
            addCriterion("employeeId <>", value, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidGreaterThan(Integer value) {
            addCriterion("employeeId >", value, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("employeeId >=", value, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidLessThan(Integer value) {
            addCriterion("employeeId <", value, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidLessThanOrEqualTo(Integer value) {
            addCriterion("employeeId <=", value, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidIn(List<Integer> values) {
            addCriterion("employeeId in", values, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidNotIn(List<Integer> values) {
            addCriterion("employeeId not in", values, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidBetween(Integer value1, Integer value2) {
            addCriterion("employeeId between", value1, value2, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidNotBetween(Integer value1, Integer value2) {
            addCriterion("employeeId not between", value1, value2, "employeeid");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("userId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("userId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("userId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("userId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("userId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("userId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("userId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("userId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("userId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("userId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andLockidsIsNull() {
            addCriterion("lockIds is null");
            return (Criteria) this;
        }

        public Criteria andLockidsIsNotNull() {
            addCriterion("lockIds is not null");
            return (Criteria) this;
        }

        public Criteria andLockidsEqualTo(String value) {
            addCriterion("lockIds =", value, "lockids");
            return (Criteria) this;
        }

        public Criteria andLockidsNotEqualTo(String value) {
            addCriterion("lockIds <>", value, "lockids");
            return (Criteria) this;
        }

        public Criteria andLockidsGreaterThan(String value) {
            addCriterion("lockIds >", value, "lockids");
            return (Criteria) this;
        }

        public Criteria andLockidsGreaterThanOrEqualTo(String value) {
            addCriterion("lockIds >=", value, "lockids");
            return (Criteria) this;
        }

        public Criteria andLockidsLessThan(String value) {
            addCriterion("lockIds <", value, "lockids");
            return (Criteria) this;
        }

        public Criteria andLockidsLessThanOrEqualTo(String value) {
            addCriterion("lockIds <=", value, "lockids");
            return (Criteria) this;
        }

        public Criteria andLockidsLike(String value) {
            addCriterion("lockIds like", value, "lockids");
            return (Criteria) this;
        }

        public Criteria andLockidsNotLike(String value) {
            addCriterion("lockIds not like", value, "lockids");
            return (Criteria) this;
        }

        public Criteria andLockidsIn(List<String> values) {
            addCriterion("lockIds in", values, "lockids");
            return (Criteria) this;
        }

        public Criteria andLockidsNotIn(List<String> values) {
            addCriterion("lockIds not in", values, "lockids");
            return (Criteria) this;
        }

        public Criteria andLockidsBetween(String value1, String value2) {
            addCriterion("lockIds between", value1, value2, "lockids");
            return (Criteria) this;
        }

        public Criteria andLockidsNotBetween(String value1, String value2) {
            addCriterion("lockIds not between", value1, value2, "lockids");
            return (Criteria) this;
        }

        public Criteria andKeyidIsNull() {
            addCriterion("keyId is null");
            return (Criteria) this;
        }

        public Criteria andKeyidIsNotNull() {
            addCriterion("keyId is not null");
            return (Criteria) this;
        }

        public Criteria andKeyidEqualTo(Integer value) {
            addCriterion("keyId =", value, "keyid");
            return (Criteria) this;
        }

        public Criteria andKeyidNotEqualTo(Integer value) {
            addCriterion("keyId <>", value, "keyid");
            return (Criteria) this;
        }

        public Criteria andKeyidGreaterThan(Integer value) {
            addCriterion("keyId >", value, "keyid");
            return (Criteria) this;
        }

        public Criteria andKeyidGreaterThanOrEqualTo(Integer value) {
            addCriterion("keyId >=", value, "keyid");
            return (Criteria) this;
        }

        public Criteria andKeyidLessThan(Integer value) {
            addCriterion("keyId <", value, "keyid");
            return (Criteria) this;
        }

        public Criteria andKeyidLessThanOrEqualTo(Integer value) {
            addCriterion("keyId <=", value, "keyid");
            return (Criteria) this;
        }

        public Criteria andKeyidIn(List<Integer> values) {
            addCriterion("keyId in", values, "keyid");
            return (Criteria) this;
        }

        public Criteria andKeyidNotIn(List<Integer> values) {
            addCriterion("keyId not in", values, "keyid");
            return (Criteria) this;
        }

        public Criteria andKeyidBetween(Integer value1, Integer value2) {
            addCriterion("keyId between", value1, value2, "keyid");
            return (Criteria) this;
        }

        public Criteria andKeyidNotBetween(Integer value1, Integer value2) {
            addCriterion("keyId not between", value1, value2, "keyid");
            return (Criteria) this;
        }

        public Criteria andAuthstateIsNull() {
            addCriterion("authState is null");
            return (Criteria) this;
        }

        public Criteria andAuthstateIsNotNull() {
            addCriterion("authState is not null");
            return (Criteria) this;
        }

        public Criteria andAuthstateEqualTo(String value) {
            addCriterion("authState =", value, "authstate");
            return (Criteria) this;
        }

        public Criteria andAuthstateNotEqualTo(String value) {
            addCriterion("authState <>", value, "authstate");
            return (Criteria) this;
        }

        public Criteria andAuthstateGreaterThan(String value) {
            addCriterion("authState >", value, "authstate");
            return (Criteria) this;
        }

        public Criteria andAuthstateGreaterThanOrEqualTo(String value) {
            addCriterion("authState >=", value, "authstate");
            return (Criteria) this;
        }

        public Criteria andAuthstateLessThan(String value) {
            addCriterion("authState <", value, "authstate");
            return (Criteria) this;
        }

        public Criteria andAuthstateLessThanOrEqualTo(String value) {
            addCriterion("authState <=", value, "authstate");
            return (Criteria) this;
        }

        public Criteria andAuthstateLike(String value) {
            addCriterion("authState like", value, "authstate");
            return (Criteria) this;
        }

        public Criteria andAuthstateNotLike(String value) {
            addCriterion("authState not like", value, "authstate");
            return (Criteria) this;
        }

        public Criteria andAuthstateIn(List<String> values) {
            addCriterion("authState in", values, "authstate");
            return (Criteria) this;
        }

        public Criteria andAuthstateNotIn(List<String> values) {
            addCriterion("authState not in", values, "authstate");
            return (Criteria) this;
        }

        public Criteria andAuthstateBetween(String value1, String value2) {
            addCriterion("authState between", value1, value2, "authstate");
            return (Criteria) this;
        }

        public Criteria andAuthstateNotBetween(String value1, String value2) {
            addCriterion("authState not between", value1, value2, "authstate");
            return (Criteria) this;
        }

        public Criteria andEffectivecountIsNull() {
            addCriterion("effectiveCount is null");
            return (Criteria) this;
        }

        public Criteria andEffectivecountIsNotNull() {
            addCriterion("effectiveCount is not null");
            return (Criteria) this;
        }

        public Criteria andEffectivecountEqualTo(Integer value) {
            addCriterion("effectiveCount =", value, "effectivecount");
            return (Criteria) this;
        }

        public Criteria andEffectivecountNotEqualTo(Integer value) {
            addCriterion("effectiveCount <>", value, "effectivecount");
            return (Criteria) this;
        }

        public Criteria andEffectivecountGreaterThan(Integer value) {
            addCriterion("effectiveCount >", value, "effectivecount");
            return (Criteria) this;
        }

        public Criteria andEffectivecountGreaterThanOrEqualTo(Integer value) {
            addCriterion("effectiveCount >=", value, "effectivecount");
            return (Criteria) this;
        }

        public Criteria andEffectivecountLessThan(Integer value) {
            addCriterion("effectiveCount <", value, "effectivecount");
            return (Criteria) this;
        }

        public Criteria andEffectivecountLessThanOrEqualTo(Integer value) {
            addCriterion("effectiveCount <=", value, "effectivecount");
            return (Criteria) this;
        }

        public Criteria andEffectivecountIn(List<Integer> values) {
            addCriterion("effectiveCount in", values, "effectivecount");
            return (Criteria) this;
        }

        public Criteria andEffectivecountNotIn(List<Integer> values) {
            addCriterion("effectiveCount not in", values, "effectivecount");
            return (Criteria) this;
        }

        public Criteria andEffectivecountBetween(Integer value1, Integer value2) {
            addCriterion("effectiveCount between", value1, value2, "effectivecount");
            return (Criteria) this;
        }

        public Criteria andEffectivecountNotBetween(Integer value1, Integer value2) {
            addCriterion("effectiveCount not between", value1, value2, "effectivecount");
            return (Criteria) this;
        }

        public Criteria andEffectivetimeIsNull() {
            addCriterion("effectiveTime is null");
            return (Criteria) this;
        }

        public Criteria andEffectivetimeIsNotNull() {
            addCriterion("effectiveTime is not null");
            return (Criteria) this;
        }

        public Criteria andEffectivetimeEqualTo(Long value) {
            addCriterion("effectiveTime =", value, "effectivetime");
            return (Criteria) this;
        }

        public Criteria andEffectivetimeNotEqualTo(Long value) {
            addCriterion("effectiveTime <>", value, "effectivetime");
            return (Criteria) this;
        }

        public Criteria andEffectivetimeGreaterThan(Long value) {
            addCriterion("effectiveTime >", value, "effectivetime");
            return (Criteria) this;
        }

        public Criteria andEffectivetimeGreaterThanOrEqualTo(Long value) {
            addCriterion("effectiveTime >=", value, "effectivetime");
            return (Criteria) this;
        }

        public Criteria andEffectivetimeLessThan(Long value) {
            addCriterion("effectiveTime <", value, "effectivetime");
            return (Criteria) this;
        }

        public Criteria andEffectivetimeLessThanOrEqualTo(Long value) {
            addCriterion("effectiveTime <=", value, "effectivetime");
            return (Criteria) this;
        }

        public Criteria andEffectivetimeIn(List<Long> values) {
            addCriterion("effectiveTime in", values, "effectivetime");
            return (Criteria) this;
        }

        public Criteria andEffectivetimeNotIn(List<Long> values) {
            addCriterion("effectiveTime not in", values, "effectivetime");
            return (Criteria) this;
        }

        public Criteria andEffectivetimeBetween(Long value1, Long value2) {
            addCriterion("effectiveTime between", value1, value2, "effectivetime");
            return (Criteria) this;
        }

        public Criteria andEffectivetimeNotBetween(Long value1, Long value2) {
            addCriterion("effectiveTime not between", value1, value2, "effectivetime");
            return (Criteria) this;
        }

        public Criteria andLocknamesIsNull() {
            addCriterion("lockNames is null");
            return (Criteria) this;
        }

        public Criteria andLocknamesIsNotNull() {
            addCriterion("lockNames is not null");
            return (Criteria) this;
        }

        public Criteria andLocknamesEqualTo(String value) {
            addCriterion("lockNames =", value, "locknames");
            return (Criteria) this;
        }

        public Criteria andLocknamesNotEqualTo(String value) {
            addCriterion("lockNames <>", value, "locknames");
            return (Criteria) this;
        }

        public Criteria andLocknamesGreaterThan(String value) {
            addCriterion("lockNames >", value, "locknames");
            return (Criteria) this;
        }

        public Criteria andLocknamesGreaterThanOrEqualTo(String value) {
            addCriterion("lockNames >=", value, "locknames");
            return (Criteria) this;
        }

        public Criteria andLocknamesLessThan(String value) {
            addCriterion("lockNames <", value, "locknames");
            return (Criteria) this;
        }

        public Criteria andLocknamesLessThanOrEqualTo(String value) {
            addCriterion("lockNames <=", value, "locknames");
            return (Criteria) this;
        }

        public Criteria andLocknamesLike(String value) {
            addCriterion("lockNames like", value, "locknames");
            return (Criteria) this;
        }

        public Criteria andLocknamesNotLike(String value) {
            addCriterion("lockNames not like", value, "locknames");
            return (Criteria) this;
        }

        public Criteria andLocknamesIn(List<String> values) {
            addCriterion("lockNames in", values, "locknames");
            return (Criteria) this;
        }

        public Criteria andLocknamesNotIn(List<String> values) {
            addCriterion("lockNames not in", values, "locknames");
            return (Criteria) this;
        }

        public Criteria andLocknamesBetween(String value1, String value2) {
            addCriterion("lockNames between", value1, value2, "locknames");
            return (Criteria) this;
        }

        public Criteria andLocknamesNotBetween(String value1, String value2) {
            addCriterion("lockNames not between", value1, value2, "locknames");
            return (Criteria) this;
        }

        public Criteria andRegionidIsNull() {
            addCriterion("regionId is null");
            return (Criteria) this;
        }

        public Criteria andRegionidIsNotNull() {
            addCriterion("regionId is not null");
            return (Criteria) this;
        }

        public Criteria andRegionidEqualTo(Integer value) {
            addCriterion("regionId =", value, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidNotEqualTo(Integer value) {
            addCriterion("regionId <>", value, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidGreaterThan(Integer value) {
            addCriterion("regionId >", value, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidGreaterThanOrEqualTo(Integer value) {
            addCriterion("regionId >=", value, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidLessThan(Integer value) {
            addCriterion("regionId <", value, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidLessThanOrEqualTo(Integer value) {
            addCriterion("regionId <=", value, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidIn(List<Integer> values) {
            addCriterion("regionId in", values, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidNotIn(List<Integer> values) {
            addCriterion("regionId not in", values, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidBetween(Integer value1, Integer value2) {
            addCriterion("regionId between", value1, value2, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidNotBetween(Integer value1, Integer value2) {
            addCriterion("regionId not between", value1, value2, "regionid");
            return (Criteria) this;
        }

        public Criteria andRouteidIsNull() {
            addCriterion("routeId is null");
            return (Criteria) this;
        }

        public Criteria andRouteidIsNotNull() {
            addCriterion("routeId is not null");
            return (Criteria) this;
        }

        public Criteria andRouteidEqualTo(Integer value) {
            addCriterion("routeId =", value, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidNotEqualTo(Integer value) {
            addCriterion("routeId <>", value, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidGreaterThan(Integer value) {
            addCriterion("routeId >", value, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidGreaterThanOrEqualTo(Integer value) {
            addCriterion("routeId >=", value, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidLessThan(Integer value) {
            addCriterion("routeId <", value, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidLessThanOrEqualTo(Integer value) {
            addCriterion("routeId <=", value, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidIn(List<Integer> values) {
            addCriterion("routeId in", values, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidNotIn(List<Integer> values) {
            addCriterion("routeId not in", values, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidBetween(Integer value1, Integer value2) {
            addCriterion("routeId between", value1, value2, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidNotBetween(Integer value1, Integer value2) {
            addCriterion("routeId not between", value1, value2, "routeid");
            return (Criteria) this;
        }
    }

    /**
     * T_Auth
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * T_Auth 2017-08-04
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}